package com.service.dao.model;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 会员出局记录
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-15 14:40:48
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("hm_member_out")
public class MemberOut implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    @TableId
    private Integer id;
    /**
     * 会员id
     */
    private Integer memberId;
    /**
     * 会员账号
     */
    private String memberAccount;
    /**
     * 会员账号
     */
    private Integer memberGrade;
    /**
     * 出局时直接奖励总额
     */
    private BigDecimal directAward;
    /**
     * 出局时间接奖励总额
     */
    private BigDecimal indirectAward;

    /**
     * 出局时社区奖励总额
     */
    private BigDecimal communityAward;

    /**
     * 出局时节点奖励总额
     */
    private BigDecimal nodeAward;
    /**
     * 出局时消费总额
     */
    private BigDecimal totalConsumption;

    private Date createTime;

}
